import type { DetectionResult } from "@/lib/image-detection"

// 默认的示例检测结果，用于在没有历史记录时显示
export const demoCases: DetectionResult[] = [
  {
    id: "demo-1",
    imageUrl: "/03.png",
    objects: [
      { id: "obj-1", name: "狗", confidence: 0.98, type: "object" },
      { id: "obj-2", name: "草坪", confidence: 0.95, type: "scene" },
      { id: "obj-3", name: "花", confidence: 0.87, type: "object" },
      { id: "obj-4", name: "宠物", confidence: 0.99, type: "object" },
    ],
    timestamp: Date.now() - 86400000 * 2, // 2天前
    fileSize: "2.4 MB",
    resolution: "1920 x 1080",
    processingTime: 1.2,
  },
  {
    id: "demo-2",
    imageUrl: "/02.png",
    objects: [
      { id: "obj-6", name: "水", confidence: 0.99, type: "object" },
      { id: "obj-7", name: "瓶子", confidence: 0.88, type: "object" },
      { id: "obj-8", name: "物品", confidence: 0.85, type: "object" },
      { id: "obj-9", name: "室内", confidence: 0.92, type: "scene" },
    ],
    timestamp: Date.now() - 86400000 * 5, // 5天前
    fileSize: "3.1 MB",
    resolution: "2048 x 1536",
    processingTime: 1.5,
  },
  {
    id: "demo-3",
    imageUrl: "/04.png",
    objects: [
      { id: "obj-11", name: "树", confidence: 0.96, type: "object" },
      { id: "obj-12", name: "绿色", confidence: 0.97, type: "object" },
      { id: "obj-13", name: "人", confidence: 0.94, type: "person" },
      { id: "obj-14", name: "天空", confidence: 0.99, type: "scene" },
    ],
    timestamp: Date.now() - 86400000 * 7, // 7天前
    fileSize: "4.2 MB",
    resolution: "3840 x 2160",
    processingTime: 1.8,
  },
]
